<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta http-equiv="Access-Control-Allow-Origin" content="*">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="icon" href="../../../favicon.png">
	<title>${objName}</title>
	<link rel="stylesheet" href="../../../components/bootstrap/dist/css/bootstrap.min.css"/>
	<!-- Icons -->
	<link rel="stylesheet" href="../../../components/font-awesome/css/font-awesome.min.css"/>
	<link rel="stylesheet" href="../../../components/Ionicons/css/ionicons.min.css">
	<!-- bootstrap-table 表格插件样式 -->
	<link rel="stylesheet" href="../../../components/bootstrap-table/bootstrap-table.min.css"/>
	<!-- 动画 -->
	<link rel="stylesheet" href="../../../assets/css/animate.css"/>
	<link rel="stylesheet" href="../../../components/jquery-layout/jquery.layout-latest.css"/>
	<!-- ztree -->
	<link rel="stylesheet" href="../../../components/jquery-ztree/3.5/css/metro/zTreeStyle.css"/>
	<!-- 通用样式 -->
	<link rel="stylesheet" href="../../../assets/css/style.css"/>
	<link rel="stylesheet" href="../../../assets/css/common.css" />
</head>
<body class="gray-bg ice-body">
	
	<div class="container-div ice-content">
		<div class="row">
			<div class="col-sm-12 search-collapse">
				<form id="query-form" class="query-form">
					<div class="select-list">
						<ul>
							<#list columns as k>
							<li>
								<p class="ice-form-label i18n" i18n="project.entity.${objName}.${k.attrname}">${k.attrname}:${k.comments}</p>
								<input class="ice-form-input" id="${k.attrname}" name="${k.attrname}" type="text" autocomplete="off" disableautocomplete>
							</li>
							</#list>
							<li>
								<a class="btn btn-primary btn-rounded btn-sm m50" onclick="$.table.refresh(gridOptions);"><i class="fa fa-search"></i>&nbsp;<span class="i18n" i18n="sys.common.button.query">查询</span></a>
							    <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset('query-form')"><i class="fa fa-refresh"></i>&nbsp;<span class="i18n" i18n="sys.common.button.clear">清除</span></a>
							</li>
						</ul>
					</div>
				</form>
			</div>
			<div id="toolbar" class="btn-group-sm">
				<button id="btn_add" type="button" class="btn btn-primary" onclick="add();" res="${objName}.add">
					<span class="glyphicon glyphicon-plus" aria-hidden="true"></span> 增加
				</button>
			</div>
	        <div class="col-sm-12 select-table table-striped">
			    <table id="data-grid" class="table table-condensed" style="white-space: nowrap"></table>
			</div>
		</div>
	</div>
	
	<!-- jQuery 3 -->
	<script src="../../../components/jquery/dist/jquery-2.1.4.min.js"></script>
	<!-- I18N -->
	<script type="text/javascript" src="../../../components/i18n/jquery.i18n.properties.js"></script>
	<!-- APP Config -->
	<script type="text/javascript" src="../../../assets/js/boot-config.js"></script>
	<!-- Bootstrap 3.3.7 -->
	<script src="../../../components/bootstrap/dist/js/bootstrap.min.js"></script>
	<!-- bootstrap-table 表格插件 -->
	<script type="text/javascript" src="../../../components/bootstrap-table/bootstrap-table.min.js"></script>
	<script type="text/javascript" src="../../../components/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
	<script type="text/javascript" src="../../../components/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js"></script>
	<script type="text/javascript" src="../../../components/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.min.js"></script>
	<script type="text/javascript" src="../../../components/bootstrap-table/extensions/columns/bootstrap-table-fixed-columns.js"></script>
	<!-- jquery-validate 表单验证插件 -->
	<script type="text/javascript" src="../../../components/validate/jquery.validate.min.js"></script>
	<script type="text/javascript" src="../../../components/validate/messages_zh.min.js"></script>
	<script type="text/javascript" src="../../../components/validate/jquery.validate.extend.js"></script>
	<!-- jquery-validate 表单树插件 -->
	<script type="text/javascript" src="../../../components/bootstrap-treetable/bootstrap-treetable.js"></script>
	<!-- jquery-export 表格导出插件 -->
	<script type="text/javascript" src="../../../components/bootstrap-table/extensions/export/bootstrap-table-export.js"></script>
	<script type="text/javascript" src="../../../components/bootstrap-table/extensions/export/tableExport.js"></script>
	<!-- 遮罩层 -->
	<script type="text/javascript" src="../../../components/blockUI/jquery.blockUI.js"></script>
    <script type="text/javascript" src="../../../components/iCheck/icheck.min.js"></script>
	<script type="text/javascript" src="../../../components/layer/layer.min.js"></script>
	<script type="text/javascript" src="../../../components/layui/layui.js"></script>
	<!-- JQuery布局 -->
	<script type="text/javascript" src="../../../components/jquery-layout/jquery.layout-latest.js"></script>
	<!-- zTree -->
	<script type="text/javascript" src="../../../components/jquery-ztree/3.5/js/jquery.ztree.all-3.5.js"></script>
	<script type="text/javascript" src="../../../assets/js/zTree.extends.js"></script>
	<!-- checkAuthority.js -->
	<script type="text/javascript" src="../../../assets/js/checkAuthority.js"></script>
	<!-- bootstrap-table.extends-script -->
	<script type="text/javascript" src="../../../assets/js/bootstrap-table.extends.js"></script>
	<script type="text/javascript" src="../../../assets/js/common.js"></script>
	<script type="text/javascript" src="./${objName}Index.js"></script>
</body>
</html>